const { Sequelize, DataTypes } = require("sequelize");
const sequelize = new Sequelize({
  dialect: "sqlite",
  storage: `${__dirname}/uni-reception.db`,
});

const sql = `SELECT name FROM sqlite_master WHERE type='table' ORDER BY name;`;
sequelize.query(sql).then((res) => {
  console.log(res);
});

module.exports = sequelize;
